﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for PermissionBLL
/// </summary>
public class PermissionBLL:IPermissionBLL
{
    //inject DAL
    private IPermissionDAL perDAL = Factory<IPermissionDAL>.CreateInstance();

	public PermissionBLL()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    public List<Permission> LoadPermission()
    {
        try
        {
            return perDAL.LoadPermission();
        }
        catch (Exception)
        {
            throw;
        }
    }
}